uas: Fix high-order alloc
authorHans de Goede <hdegoede@redhat.com>
Fri, 4 Mar 2016 07:18:00 +0000 (07:18 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 17 Mar 2016 01:25:23 +0000 (01:25 +0000)
commit3ff9d80131977227836fcb3fa6b72e72b8a451a2
treef37c8ed55ab30c97968c4ba7207cb474196d3b73
parent7440d74dd0e0025dba92f2c14103fd4bd04b5d6c
uas: Fix high-order alloc

Can you try building a kernel with the following line in drivers/usb/storage/uas.c :

         .can_queue = 65536,     /* Is there a limit on the _host_ ? */

(around line 815) Replaced with

         .can_queue = MAX_CMNDS,

That should help as MAX_CMNDS is 256, so claiming that we can queue more
is not helpful, and that likely is what is causing this quite high order alloc.

Reported-and-tested-by: Yves-Alexis Perez <corsac@corsac.net>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name uas-fix-high-order-alloc.patch
drivers/usb/storage/uas.c